Home
last modified time | relevance | path

Searched hist:"382 b88e961c7a4196e01cef3249297583d02d608" (Results 1 – 2 of 2) sorted by path

/linux/mm/
H A Dpercpu-internal.hdiff 382b88e961c7a4196e01cef3249297583d02d608 Mon Feb 25 22:41:45 CET 2019 Dennis Zhou <dennis@kernel.org> percpu: add block level scan_hint

Fragmentation can cause both blocks and chunks to have an early
first_firee bit available, but only able to satisfy allocations much
later on. This patch introduces a scan_hint to help mitigate some
unnecessary scanning.

The scan_hint remembers the largest area prior to the contig_hint. If
the contig_hint == scan_hint, then scan_hint_start > contig_hint_start.
This is necessary for scan_hint discovery when refreshing a block.

Signed-off-by: Dennis Zhou <dennis@kernel.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
H A Dpercpu.cdiff 382b88e961c7a4196e01cef3249297583d02d608 Mon Feb 25 22:41:45 CET 2019 Dennis Zhou <dennis@kernel.org> percpu: add block level scan_hint

Fragmentation can cause both blocks and chunks to have an early
first_firee bit available, but only able to satisfy allocations much
later on. This patch introduces a scan_hint to help mitigate some
unnecessary scanning.

The scan_hint remembers the largest area prior to the contig_hint. If
the contig_hint == scan_hint, then scan_hint_start > contig_hint_start.
This is necessary for scan_hint discovery when refreshing a block.

Signed-off-by: Dennis Zhou <dennis@kernel.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>